<?php

class Password_user_Model extends Default_My_model
{

    public function __construct() {
        $this->load->database();
    }
    
    public function getPasswordUser($id_user){
        $SQL = "SELECT * FROM mt_user WHERE id_user = '". $id_user ."'";
        $resultSet = $this->db->query($SQL);
        return $resultSet;
    }
    
    public function editPassworduser($id_user, $arrVals){
        $this->db->where('id_user', $id_user);
        $this->db->update("mt_user", $arrVals);
    }
}

?>
